package idv.loveloser.dao;

/**
 * AbstractMdlForumPosts entity provides the base persistence definition of the
 * MdlForumPosts entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractMdlForumPosts implements java.io.Serializable {

	// Fields

	private Long id;
	private Long discussion;
	private Long parent;
	private Long userid;
	private Long created;
	private Long modified;
	private Short mailed;
	private String subject;
	private String message;
	private Short messageformat;
	private Short messagetrust;
	private String attachment;
	private Short totalscore;
	private Long mailnow;

	// Constructors

	/** default constructor */
	public AbstractMdlForumPosts() {
	}

	/** full constructor */
	public AbstractMdlForumPosts(Long discussion, Long parent, Long userid,
			Long created, Long modified, Short mailed, String subject,
			String message, Short messageformat, Short messagetrust,
			String attachment, Short totalscore, Long mailnow) {
		this.discussion = discussion;
		this.parent = parent;
		this.userid = userid;
		this.created = created;
		this.modified = modified;
		this.mailed = mailed;
		this.subject = subject;
		this.message = message;
		this.messageformat = messageformat;
		this.messagetrust = messagetrust;
		this.attachment = attachment;
		this.totalscore = totalscore;
		this.mailnow = mailnow;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getDiscussion() {
		return this.discussion;
	}

	public void setDiscussion(Long discussion) {
		this.discussion = discussion;
	}

	public Long getParent() {
		return this.parent;
	}

	public void setParent(Long parent) {
		this.parent = parent;
	}

	public Long getUserid() {
		return this.userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public Long getCreated() {
		return this.created;
	}

	public void setCreated(Long created) {
		this.created = created;
	}

	public Long getModified() {
		return this.modified;
	}

	public void setModified(Long modified) {
		this.modified = modified;
	}

	public Short getMailed() {
		return this.mailed;
	}

	public void setMailed(Short mailed) {
		this.mailed = mailed;
	}

	public String getSubject() {
		return this.subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Short getMessageformat() {
		return this.messageformat;
	}

	public void setMessageformat(Short messageformat) {
		this.messageformat = messageformat;
	}

	public Short getMessagetrust() {
		return this.messagetrust;
	}

	public void setMessagetrust(Short messagetrust) {
		this.messagetrust = messagetrust;
	}

	public String getAttachment() {
		return this.attachment;
	}

	public void setAttachment(String attachment) {
		this.attachment = attachment;
	}

	public Short getTotalscore() {
		return this.totalscore;
	}

	public void setTotalscore(Short totalscore) {
		this.totalscore = totalscore;
	}

	public Long getMailnow() {
		return this.mailnow;
	}

	public void setMailnow(Long mailnow) {
		this.mailnow = mailnow;
	}

}